<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8">
    <link rel="icon" href="/favicon.ico">
    <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, minimum-scale=1.0, user-scalable=yes">
    <title>伟Blog</title>
  </head>
  <body>
    <div id="app"></div>
    <script>
      // 在页面加载时执行
      window.addEventListener('DOMContentLoaded', () => {
        if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
          const viewport = document.querySelector('meta[name="viewport"]');
          viewport.setAttribute('content', 'width=1200, user-scalable=yes'); 
          document.body.style.transform = 'scale(0.8)';
          document.body.style.transformOrigin = '0 0';
        }
      });
    </script>
    <script src="//at.alicdn.com/t/c/font_4007468_3ltsoekccoj.js"></script>
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
